package com.caseProcess.mapper;

import com.caseProcess.entity.Resources;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author kittlen
 * @version 1.0
 * @date 2020/11/15 9:58
 */
@Repository
public interface ResourcesDao {
    int insert(Resources resources);
    int update(Resources resources);
    int updateByOperNoteId(@Param("operNoteId")String operNoteId, @Param("newOperNoteId")String newOperNoteId);
    int delete(Resources resources);
    int deleteByopernoteIds(@Param("opernoteIds") List opernoteIds);
    List<Resources> selectResourcess(Resources resources);
}
